home *** CD-ROM | disk | FTP | other *** search
- Path: news.mistral.co.uk!usenet
- From: mikebarnard@mistral.co.uk (Mike Barnard)
- Newsgroups: comp.lang.c
- Subject: Help - pointer notation please...
- Date: Fri, 23 Feb 1996 01:59:45 GMT
- Organization: Mistral Internet (Brighton)
- Message-ID: <4gjelv$2ek@news.mistral.co.uk>
- NNTP-Posting-Host: l50.mistral.co.uk
- X-Newsreader: Forte Free Agent 1.0.82
-
- Hi.
-
- I've read my C book. I've gotten th C FAQ. I've read the file
- "ptrtutor.txt" a tutorial on pointers. But I havn't seen explained the
- following. Can you help?
-
- Sometimes when prototyping a function the function name is pre-fixed
- by an asterisk. Why? What does it mean?
-
- Putting an asterisk before a variable name declares it as a pointer
- variable. Putting one before the variable in use means you want to
- access the data pointed to. Why is there sometimes an asterisk AFTER a
- variable?
-
- All hint's will be of GREAT use. Thanks.
-
- ---
- Mic.
- From very windy and now snowy Worthing; England.
- mikebarnard@mistral.co.uk
-
- (I just lost 4 fence panels to the wind here! The cost of
- replacing them could have bought me a new windows compiler!)
-
-